package com.link_with_health.mapper;

import com.link_with_health.model.WaitingQueueEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface WaitingQueueMapper {
    WaitingQueueEntity queryWaitingQueueById(Long id);
    List<WaitingQueueEntity> queryWaitingQueueByDoctor(Long id);
    List<WaitingQueueEntity> queryWaitingQueueByPatient(String id);
    List<WaitingQueueEntity> queryAllWaitingQueue();
    int updateWaitingQueue(WaitingQueueEntity queue);
    int insertWaitingQueue(WaitingQueueEntity queue);
    int deleteWaitingQueue(Long id);
}
